Class ZonePairImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ZonePairImpl
All Implemented Interfaces:
IPCObject, ZonePair

public class ZonePairImpl extends IPCObjectImpl implements ZonePair
Information provided by the PKI file:

    \class ZonePair
    
    \brief ZonePair holds and manipulates information about the configured zone pairs.
    
    \example network().getDevice("Router0").getProcess("ZfwProcess").getZonePairEntryAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getSrcZone

      public String getSrcZone()
      Information provided by the PKI file:
      
          \brief Returns the source zone in the zone pair.
          
          \return string, the source zone in the zone pair.
          
              
      Specified by:
      getSrcZone in interface ZonePair
      Returns:
      String Returns a String
    • getDestZone

      public String getDestZone()
      Information provided by the PKI file:
      
          \brief Returns the destinaton zone in the zone pair.
          
          \return string, the destinaton zone in the zone pair.
          
              
      Specified by:
      getDestZone in interface ZonePair
      Returns:
      String Returns a String
    • setSrcZone

      public void setSrcZone(String name)
      Information provided by the PKI file:
      
          \brief Sets the source zone.
          
          \param name, the name of the source zone.
          
              
      Specified by:
      setSrcZone in interface ZonePair
      Parameters:
      name - Takes in a parameter of name
    • setDestZone

      public void setDestZone(String name)
      Information provided by the PKI file:
      
          \brief Sets the destinaton zone.
          
          \param name, the name of the destinaton zone.
          
              
      Specified by:
      setDestZone in interface ZonePair
      Parameters:
      name - Takes in a parameter of name
    • getPolicyMap

      public String getPolicyMap()
      Information provided by the PKI file:
      
          \brief Returns the name of the policy map for this zone pair.
          
          \returns string, the name of the policy map for this zone pair.
          
              
      Specified by:
      getPolicyMap in interface ZonePair
      Returns:
      String Returns a String
    • setPolicyMap

      public void setPolicyMap(String name)
      Information provided by the PKI file:
      
          \brief Sets the name of the policy map for this zone pair.
          
          \param name, the name of the policy map for this zone pair.
          
              
      Specified by:
      setPolicyMap in interface ZonePair
      Parameters:
      name - Takes in a parameter of name